package com.atguigu.springcloud.order;

import com.atguigu.springcloud.myrule.MySelfRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @author lenovo
 * @version 1.0
 * @date 2020/11/11 14:23
 */
//@RibbonClient(name = "CLOUD-PAYMENT-SERVICE", configuration = MySelfRule.class)     //@RibbonClient主键 name/value指定服务提供者service configuration指定Ribbon IRule策略
@EnableEurekaClient
@SpringBootApplication
public class Order80Application {

    public static void main(String[] args) {
        SpringApplication.run(Order80Application.class);
    }
}
